import request from '@/utils/request'

//获取首页标语内容
export function getHomePage() {
  return request({
    url: '/api/banner',
    method: 'get',
  })
}
//设置首页标语内容
export function setHomePage(data) {
  return request({
    url: '/api/banner',
    method: 'post',
    data
  })
}